ns_ssl_certkey_policy

Configuration for NetScaler SSL Cert-Key Polling Policy resource.

Read/write properties

polling_interval<Integer>

Frequency of polling in minutes.
Minimum value = 30
Maximum value =

interval_unit<String>

This property is deprecated, polling interval will be provided in minutes only<br>Frequency unit (Minutes).

ns_ip_address<String[]>

List of NetScaler IP Address.
Minimum length = 1
Maximum length = 64

cert_store_migration<Boolean>

This flag is to trigger migration of NetScaler certificates to cert_store..

act_id<String>

Activity ID that is to track the polling status using resource poll_activity_status..

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

The following parameters can be used in the nitro request :

onerror   <String_value>

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE

do_pollgetupdate

do_poll

URL:https://<MGMT-IP>/nitro/v2/config/ns_ssl_certkey_policy?action=do_poll&onerror=<String_value>

HTTPS Method:POST

Request Headers:

Content-Type:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Request Payload:JSON

{"ns_ssl_certkey_policy": {
      "polling_interval":<Integer_value>,
      "cert_store_migration":<Boolean_value>,
      "interval_unit":<String_value>,
      "act_id":<String_value>,
      "ns_ip_address":<String_value[]>}}

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ns_ssl_certkey_policy":[{
      "polling_interval":<Integer_value>,
      "interval_unit":<String_value>,
      "ns_ip_address":<String_value>,
      "cert_store_migration":<Boolean_value>,
      "act_id":<String_value>}]}

get

URL:https://<MGMT-IP>/nitro/v2/config/ns_ssl_certkey_policy

HTTPS Method:GET

Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ns_ssl_certkey_policy":[{
      "polling_interval":<Integer_value>,
      "interval_unit":<String_value>,
      "ns_ip_address":<String_value>,
      "cert_store_migration":<Boolean_value>,
      "act_id":<String_value>}]}

update

URL:https://<MGMT-IP>/nitro/v2/config/ns_ssl_certkey_policy/

HTTPS Method:PUT

Request Headers:

Content-Type:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Request Payload:JSON

{"ns_ssl_certkey_policy":{
      "polling_interval":<Integer_value>,
      "interval_unit":<String_value>,
      "cert_store_migration":<Boolean_value>,
      "ns_ip_address":<String_value[]>,
      "act_id":<String_value>}}

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ns_ssl_certkey_policy":[{
      "polling_interval":<Integer_value>,
      "interval_unit":<String_value>,
      "ns_ip_address":<String_value>,
      "cert_store_migration":<Boolean_value>,
      "act_id":<String_value>}]}